import inspect

def myPrint(a: int, b: str) -> str:
    '''
    打印a*b的值

    :param a: 第一个乘数 (整数)
    :param b: 第二个乘数 (字符串)
    :return: 返回a*b的结果 (字符串)
    '''
    print(a * b)
    return a * b

# 获取函数的签名
signature = inspect.signature(myPrint)

print("\nFunction Signature:")
for param_name, param in signature.parameters.items():
    print(f"Parameter '{param_name}':")
    print(f"  Kind: {param.kind}")
    print(f"  Default: {'存在' if param.default != param.empty else '不存在'}")
    print(f"  Annotation: {param.annotation}")

print(f"\nReturn annotation: {signature.return_annotation}")


print("help start...")
help(myPrint)
print("help end.")